<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>创建用户</title>
    <link type="text/css" rel="stylesheet"
        href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" />
</head>

<body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
        <div class="container-fluid">
            <a class="navbar-brand " href="/user/query">游标</a>
            <!-- <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
                data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
                aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent"> -->
            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                <li class="nav-item">
                    <a class="nav-link active" aria-current="page" href="/user/query">用户管理</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link active" href="/link/query">短域名管理</a>
                </li>
            </ul>
            <form class="d-flex" role="search">
                <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
                <button class="btn btn-outline-success" type="submit">Search</button>
            </form>
            <span class="navbar-text">
                当前登录用户: sonfer
            </span>

        </div>
        </div>
    </nav>
    <div class="container-fluid">
        <div class="row">
            <div class="col-4">
                <form action="/user/add" method="POST">
                    <div class="form-group row">
                        <label class="col-form-label col-2">姓名</label>
                        <div class=" col-6">
                            <input class="form-control" name="name" type="text">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-2 pt-0">性别</label>
                        <div class="col-6">
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" name="sex" type="radio" value="1" checked="checked">
                                <label class="form-check-label">男</label>
                            </div>
                            <div class="form-check form-check-inline">
                                <input class="form-check-input" name="sex" type="radio" value="0">
                                <label class="form-check-label">女</label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-form-label col-2">地址</label>
                        <div class="col-6">
                            <textarea class="form-control" name="addr"></textarea>
                        </div>
                    </div>
                    <div class="form-group row">
                        <div class="col-8">
                            <input class="btn btn-primary" type="submit" value="提交">
                        </div>

                    </div>
                </form>
            </div>
        </div>

    </div>

</body>

</html>